package com.github.chirspan.xaas.soa.message.core;


import com.github.chirspan.xaas.soa.message.schema.MessageSchemaDefinition;
import lombok.Data;

@Data
public class SOAMessage {

    /**
     * 消息内容
     */
    private Object message;

    /**
     * 消息定义
     */
    private MessageSchemaDefinition messageSchemaDef;

    /**
     * @param message
     * @param msd     msd
     */
    public SOAMessage(Object message, MessageSchemaDefinition msd) {
        this.message = message;
        this.messageSchemaDef = msd;
    }

}